#ifndef OTHERWIDGET_H
#define OTHERWIDGET_H

#include "switchbutton.h"
#include <QLineEdit>
#include <QWidget>

class OtherWidget : public QWidget
{
    Q_OBJECT
public:
    explicit OtherWidget(QWidget *parent = nullptr);
    virtual ~OtherWidget();
protected:
    void hideEvent(QHideEvent *event);
    void saveData();
signals:

private:

    SwitchButton * m_pVirtualBtn;
    SwitchButton * m_pJoystickBtn;
    QLineEdit * m_pTelemetryEdit;
};

#endif // OTHERWIDGET_H
